Change in openvpn[master]: GHA: do not trigger builds in openvpn-build anymore
A message that is not in the archive (sent off-list or not yet received): gerrit.1693919528000.I8b00d7d79a26ad4aaae529cb496e125398169b50@...2715...
flichtenheld has uploaded this change for review. ( http://gerrit.openvpn.net/c/openvpn/+/328?usp=email )
Change subject: GHA: do not trigger builds in openvpn-build anymore
......................................................................
GHA: do not trigger builds in openvpn-build anymore
We do this via explicit PRs now, generated by renovate. This allows much better control over what state of the code gets built.
---
M .github/workflows/build.yaml
1 file changed, 0 insertions(+), 13 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/28/328/1
.github/workflows/build.yaml +0 -13
@@ -290,19 +290,6 @@ !${{ github.workspace }}/out/**/CMakeFiles/** !${{ github.workspace }}/out/**/vcpkg_installed/** - trigger_openvpn_build: - runs-on: windows-latest - needs: [checkuncrustify, mingw, ubuntu, ubuntu-clang-asan, macos, msvc] - if: ${{ github.event_name != 'pull_request' && github.repository == 'openvpn/openvpn' && github.ref == 'refs/heads/master' }} - - steps: - - name: Repository Dispatch - uses: peter-evans/[email protected]... - with: - token: ${{ secrets.OPENVPN_BUILD_REPO_DISPATCH }} - repository: openvpn/openvpn-build - event-type: openvpn-commit - libressl: strategy: fail-fast: false
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/328?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b00d7d79a26ad4aaae529cb496e125398169b50
Gerrit-Change-Number: 328
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newchange
Hi,
Quoted 5 lines · flichtenheld (Code Review)
GHA: do not trigger builds in openvpn-build anymore
We do this via explicit PRs now, generated by renovate. This allows much better control over what state of the code gets built.
Can you elaborate on this a bit more? I see lots of things flying by, but do not understand any of it...
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Quoted 11 lines · Gert Doering
Hi,
Quoted 5 lines · flichtenheld (Code Review)
GHA: do not trigger builds in openvpn-build anymore
We do this via explicit PRs now, generated by renovate. This allows much better control over what state of the code gets built.
Can you elaborate on this a bit more? I see lots of things flying by, but do not understand any of it...
Sure.
We have the renovate GHA at
https://github.com/OpenVPN/openvpn-build/actions/workflows/renovate.yaml
That runs regularly and checks whether all of the dependencies of openvpn-build can be updated.
There are three primary inputs for renovate (its "state"):
1) The openvpn-build git repository
2) The PRs in the openvpn-build github repository
3) The "Dependency Dashboard" issue in openvpn-build github repository
(https://github.com/OpenVPN/openvpn-build/issues/386)
In 3) you can see a list of dependencies renovate has detected. From 1) renovate will determine which dependencies are out-of-date. It will then check 2) whether it has already created a branch and PR to update this dependency. It respects closed PRs. So if it created a PR previously and the PR was closed without merging it, it will not be recreated.
So for example if you push something into OpenVPN/openvpn, then renovate will determine on the next run that the src/openvpn submodule in openvpn-build is out of date and open a PR to fix that. renovate tracks both master and release/2.6 and through the information in the .gitmodules knows which branch of OpenVPN/openvpn to look at. So if you push into both master and release/2.6, it will create two PRs, against master and release/2.6 in openvpn-build, respectively.
So as a result, we get PRs (and through that PR builds) for every push into any of the dependent repositories. That gives us a much more detailed picture than we had before, when we just inside the GHA updated all of the repositories to their latest state and hoped that they work together.
Hope this helps,
Signature · 1 line
Frank Lichtenheld
Attention is currently required from: cron2, flichtenheld.
stipa has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/328?usp=email )
Change subject: GHA: do not trigger builds in openvpn-build anymore
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/328?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b00d7d79a26ad4aaae529cb496e125398169b50
Gerrit-Change-Number: 328
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: cron2
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Thu, 14 Sep 2023 11:39:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: cron2, flichtenheld.
stipa has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/328?usp=email )
Change subject: GHA: do not trigger builds in openvpn-build anymore
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
We should probably remove that GHA secret if it is not needed anymore.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/328?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b00d7d79a26ad4aaae529cb496e125398169b50
Gerrit-Change-Number: 328
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: cron2
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Thu, 14 Sep 2023 11:40:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: cron2.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/328?usp=email )
Change subject: GHA: do not trigger builds in openvpn-build anymore
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Quoted 1 line
We should probably remove that GHA secret if it is not needed anymore.
Yes, I will take care of that once the patch is merged.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/328?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b00d7d79a26ad4aaae529cb496e125398169b50
Gerrit-Change-Number: 328
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: cron2
Gerrit-Comment-Date: Thu, 14 Sep 2023 15:54:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: stipa <[email protected]...>
Gerrit-MessageType: comment
PATCH 1/1 GHA: do not trigger builds in openvpn-build anymore
In reply to a message not in the archiveWe do this via explicit PRs now, generated by renovate. This allows much better control over what state of the code gets built.
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/328
This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above):
lstipakov <[email protected]...>
.github/workflows/build.yaml +0 -13
@@ -290,19 +290,6 @@ !${{ github.workspace }}/out/**/CMakeFiles/** !${{ github.workspace }}/out/**/vcpkg_installed/** - trigger_openvpn_build: - runs-on: windows-latest - needs: [checkuncrustify, mingw, ubuntu, ubuntu-clang-asan, macos, msvc] - if: ${{ github.event_name != 'pull_request' && github.repository == 'openvpn/openvpn' && github.ref == 'refs/heads/master' }} - - steps: - - name: Repository Dispatch - uses: peter-evans/[email protected]... - with: - token: ${{ secrets.OPENVPN_BUILD_REPO_DISPATCH }} - repository: openvpn/openvpn-build - event-type: openvpn-commit - libressl: strategy: fail-fast: false
[Openvpn-devel] [PATCH applied] Re: GHA: do not trigger builds in openvpn-build anymore
.. as discussed on the list and on IRC, yes.
Your patch has been applied to the master and release/2.6 branch.
commit 1864a19e85d89bc0b34cb1c6eac186f3fe323c0b (master) commit cd09e073752fbad5d70adc2af66a29c7ed99a9e9 (release/2.6)
Author: Frank Lichtenheld Date: Fri Sep 22 12:39:36 2023 +0200
GHA: do not trigger builds in openvpn-build anymore
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Lev Stipakov <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/search?l=mid&[email protected]...
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
[Openvpn-devel] [PATCH applied] Re: GHA: do not trigger builds in openvpn-build anymore
In reply to Frank Lichtenheld.. as discussed on the list and on IRC, yes.
*second attempt*, fixing the URL: in both commits, so new commit IDs...
Your patch has been applied to the master and release/2.6 branch.
commit 37d6c61a3decf64d0db1cd3d033483c9db5c4c91 (master) commit 1782daa48e782469550e37e7cd7dab2ba4e4be8b (HEAD -> release/2.6)
Author: Frank Lichtenheld Date: Fri Sep 22 12:39:36 2023 +0200
GHA: do not trigger builds in openvpn-build anymore
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Lev Stipakov <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27060.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/328?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by stipa
Change subject: GHA: do not trigger builds in openvpn-build anymore
......................................................................
GHA: do not trigger builds in openvpn-build anymore
We do this via explicit PRs now, generated by renovate. This allows much better control over what state of the code gets built.
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27060.html
---
M .github/workflows/build.yaml
1 file changed, 0 insertions(+), 13 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/28/328/2
.github/workflows/build.yaml +0 -13
@@ -290,19 +290,6 @@ !${{ github.workspace }}/out/**/CMakeFiles/** !${{ github.workspace }}/out/**/vcpkg_installed/** - trigger_openvpn_build: - runs-on: windows-latest - needs: [checkuncrustify, mingw, ubuntu, ubuntu-clang-asan, macos, msvc] - if: ${{ github.event_name != 'pull_request' && github.repository == 'openvpn/openvpn' && github.ref == 'refs/heads/master' }} - - steps: - - name: Repository Dispatch - uses: peter-evans/[email protected]... - with: - token: ${{ secrets.OPENVPN_BUILD_REPO_DISPATCH }} - repository: openvpn/openvpn-build - event-type: openvpn-commit - libressl: strategy: fail-fast: false
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/328?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b00d7d79a26ad4aaae529cb496e125398169b50
Gerrit-Change-Number: 328
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/328?usp=email )
Change subject: GHA: do not trigger builds in openvpn-build anymore
......................................................................
GHA: do not trigger builds in openvpn-build anymore
We do this via explicit PRs now, generated by renovate. This allows much better control over what state of the code gets built.
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27060.html
---
M .github/workflows/build.yaml
1 file changed, 0 insertions(+), 13 deletions(-)
.github/workflows/build.yaml +0 -13
@@ -290,19 +290,6 @@ !${{ github.workspace }}/out/**/CMakeFiles/** !${{ github.workspace }}/out/**/vcpkg_installed/** - trigger_openvpn_build: - runs-on: windows-latest - needs: [checkuncrustify, mingw, ubuntu, ubuntu-clang-asan, macos, msvc] - if: ${{ github.event_name != 'pull_request' && github.repository == 'openvpn/openvpn' && github.ref == 'refs/heads/master' }} - - steps: - - name: Repository Dispatch - uses: peter-evans/[email protected]... - with: - token: ${{ secrets.OPENVPN_BUILD_REPO_DISPATCH }} - repository: openvpn/openvpn-build - event-type: openvpn-commit - libressl: strategy: fail-fast: false
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/328?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b00d7d79a26ad4aaae529cb496e125398169b50
Gerrit-Change-Number: 328
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged